﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for CustomBooking
/// </summary>
public class CustomBooking:Booking
{


	/// <summary>
    /// Fields of CustomBooking
    /// </summary>
    #region Fields
    int customBookingID;
    int guestNumber;    
    Location departurePlace;   
    DateTime departureTime;  
    Location arrivalPlace;  
    Spot spot;   
    DateTime arrivalTime;   
    Facility facility;
    decimal price;
    bool guide;
    string note;

   
    #endregion

    /// <summary>
    /// Properties of CustomBooking
    /// </summary>
    #region Properties
    public int ID
    {
        get { return customBookingID; }
        set { customBookingID = value; }
    }
    public int GuestNumber
    {
        get { return guestNumber; }
        set { guestNumber = value; }
    }
    public Location DeparturePlace
    {
        get { return departurePlace; }
        set { departurePlace = value; }
    }
    public DateTime DepartureTime
    {
        get { return departureTime; }
        set { departureTime = value; }
    }
    public Location ArrivalPlace
    {
        get { return arrivalPlace; }
        set { arrivalPlace = value; }
    }
    public Spot Spot
    {
        get { return spot; }
        set { spot = value; }
    }
    public DateTime ArrivalTime
    {
        get { return arrivalTime; }
        set { arrivalTime = value; }
    }
    public Facility Facility
    {
        get { return facility; }
        set { facility = value; }
    }
    public bool Guide
    {
        get { return guide; }
        set { guide = value; }
    }
    public decimal Price
    {
        get { return price; }
        set { price = value; }
    }
    public string Note
    {
        get { return note; }
        set { note = value; }
    }
    #endregion

    /// <summary>
    /// Constructures CustomBooking
    /// </summary>
    #region Constructures
    public CustomBooking()
    {
        customBookingID = 0;
            
        guestNumber = 0;
        departurePlace = new Location();
        departureTime = new DateTime();
        arrivalPlace = new Location();
        spot = new Spot();
        arrivalTime = new DateTime();
        facility = new Facility();
        guide = true;
        note = "";

    }
    public CustomBooking(int guestNumber, Location departurePlace, DateTime departureTime, Location arrivalPlace, Spot spot, DateTime arrivalTime, Facility facility, bool guide,string note)
	{
        this.customBookingID = 0;
        this.guestNumber = guestNumber;
        this.departurePlace = departurePlace;
        this.departureTime = departureTime;
        this.arrivalPlace = arrivalPlace;
        this.arrivalTime = arrivalTime;
        this.spot = spot;
        this.facility = facility;
        this.guide = guide;
        this.note = note;
    }
    #endregion
}